home *** CD-ROM | disk | FTP | other *** search
- RATIOCHK.EXE is a handy little utility useful to RBBS-PC
- Sysops who wish to enforce upload/download ratios.
-
- RatioCheck will read in the USERS file, and demote the users
- who have not retained their ratios to a security level specified
- by the Sysop when the program is first run.
-
- RatioCheck can also be used with my utility "Schedule" or
- "RBBSCtrl" that allows the SYSOP to do something every few days
- on a cycle, such as every weekend. In order to use RatioCheck
- with the program "Schedule", RatioCheck must be invoked from the
- command line like so:
-
- C>ratiochk -
-
- The "-" tells RatioCheck not to wait for any input when
- finished. The calling batch file can check for any errors by
- looking for the existence of the file "ERRORS.RAT", like so.
-
- C>copy con:runratio.bat
- echo off
- copy users users.baq (optional)
- ratiochk -
- if not exist errors.dat goto exit
- echo ^G^GError!^G
- copy users.baq users
- del users.baq
- :exit
- echo Done!
- ^Z^Z
- 1 file(s) copied
-
- This could then be called from RBBS.BAT (or the equivilant)
- like this:
-
-
- C>copy con:rbbs.bat
- watchdg1 on
- .
- . (whatever is before the RBBS-PC startup)
- .
- rbbs-pc
- rbbsctrl xxxx (the schedule file for this...)
- if not exist ITS_TIME.NOW goto end
- runratio
- :end
- rbbs.bat
- ^Z^Z
- 1 file(s) copied
-
- As you can see, this setup is not hard, and there really is
- nothing to the program.
-
- You will receive a report, and in the report is a list of the
- users changed, and certain stats including who was cleared
- because their security level was high enough.
-
- When configuring RatioCheck for the first time, if you specify
- "-32767" for the security level to drop the users to, it will
- NOT touch the user's security. This could be useful if you just
- wanted to inform the user that he is over the limit.
-
-
- If you have any questions, comments, or complaints, please
- contact me via one of the two boards listed below:
-
- RBBS-PC of Chicago The Satellite RBBS
- 160 Meg. on-line, 4 nodes! 20 Doors, 24 Hrs.
- Data: (312) 352-1035 Data: (701) 293-3934
- Sysop: Loren D. Jones Sysop: Andrew J. Hoag
- 300/1200/2400/* 9600 Soon * 300/1200/2400 BPS
-
- RatioCheck is a User Supported software program. This means,
- instead of charging a direct fee for using the program, YOU, the
- user, decides how much to send, and if you want to send it in.
- This way, you can decide if you like the program before you pay
- for it. The suggested contribution for this program is $5.
-
- Thank you!
- Andrew J. Hoag
-